branch-3.1: [fix](test) Failed to show create table for async mv #55278#55480
Merged
morrySnow merged 1 commit intobranch-3.1from Sep 5, 2025
Merged
branch-3.1: [fix](test) Failed to show create table for async mv #55278#55480morrySnow merged 1 commit intobranch-3.1from
morrySnow merged 1 commit intobranch-3.1from
Conversation
now:
```
CREATE TABLE t (
id int,
test int,
`k` int
)
DUPLICATE KEY(`id`)
PARTITION BY range(`id`) (
partition p1 values less than (5),
partition p2 values less than (10)
)
DISTRIBUTED BY HASH(`id`) BUCKETS 1
PROPERTIES (
"replication_num" = "1"
);
insert into t values (1,1,1);
insert into t values (1,2,1);
insert into t values (1,3,1);
CREATE MATERIALIZED VIEW mv
BUILD IMMEDIATE REFRESH AUTO
PROPERTIES ('replication_num' = '1')
AS (select test, id from t);
```
```
2025-08-26 10:09:31.355 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show databases
2025-08-26 10:09:31.360 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show tables from db
2025-08-26 10:09:31.362 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show create table db.mv
2025-08-26 10:09:31.374 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show create materialized view db.mv
2025-08-26 10:09:31.378 INFO [suite-thread-1] (check_meta.groovy:51) - select count database: db, table mv
2025-08-26 10:09:31.380 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
2025-08-26 10:09:31.407 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
2025-08-26 10:09:31.432 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
2025-08-26 10:09:31.457 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
2025-08-26 10:09:31.482 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
2025-08-26 10:09:31.508 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
```
morrySnow
approved these changes
Sep 4, 2025
Contributor
|
run buildall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picked from #55278